<%--
  Created by IntelliJ IDEA.
  User: 栋
  Date: 2022/11/30
  Time: 16:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div class="searchContent">
    <div class="classify">
        <a href="userServlet?action=showAllItems">全部</a>
        <a href="userServlet?action=showItemsByType&type=1">书籍</a>
        <a href="userServlet?action=showItemsByType&type=2">电子产品</a>
        <a href="userServlet?action=showItemsByType&type=3">生活用品</a>
        <a href="userServlet?action=showItemsByType&type=4">学习用品</a>
    </div>
    <div class="search">
        <form action="userServlet">
            <input type="hidden" name="action" value="searchItems">
            <input type="text" required name="name">
            <input type="submit" value="搜索">
        </form>
    </div>
</div>